package model;

import java.util.Date;

public class Student {
    private String sno,sPassword,sName,sSex,classId,IDCard,address;
    private Date birthday;

    public Student(String sno, String sPassword, String sName, String sSex, String classId, String IDCard, String address, Date birthday) {
        this.sno = sno;
        this.sPassword=sPassword;
        this.sName = sName;
        this.sSex = sSex;
        this.classId = classId;
        this.IDCard = IDCard;
        this.address = address;
        this.birthday = birthday;
    }

    public Student() {

    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getsPassword() {
        return sPassword;
    }

    public void setsPassword(String sPassword) {
        this.sPassword=sPassword;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsSex() {
        return sSex;
    }

    public void setsSex(String sSex) {
        this.sSex = sSex;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getIDCard() {
        return IDCard;
    }

    public void setIDCard(String IDCard) {
        this.IDCard = IDCard;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "student{" +
                "sno='" + sno + '\'' +
                ", sName='" + sName + '\'' +
                ", sSex='" + sSex + '\'' +
                ", classId='" + classId + '\'' +
                ", IDCard='" + IDCard + '\'' +
                ", address='" + address + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
